//
//  JZHCommodity.h
//  极致荟
//
//  Created by hetao on 14-7-8.
//  Copyright (c) 2014年 mac. All rights reserved.
//
/*
 *  商品数据模型 ：对应《专题》-》礼品，非礼品，《活动》-》拍卖   
 *  懒的写继承
 */
typedef enum {
YESType=1,
NOTYpe=0
}ComType;///是否可以购买
#import <Foundation/Foundation.h>
#import "JZHReview.h"

@interface JZHCommodity : NSObject
@property (nonatomic,assign) int scId;//这个是收藏id,如果被收藏
@property (nonatomic,copy)NSString *name;//商品名称
@property (nonatomic,assign)float price;//商品价格
@property (nonatomic,assign)int comid;//商品ID
@property (nonatomic,strong)NSArray *imagearr;//商品图片
@property (nonatomic,copy)NSString *content;//商品介绍
@property (nonatomic,assign)long bigentime;//起始拍卖时间
@property (nonatomic,assign)long surplustime;//剩余拍卖时间
@property (nonatomic,assign)float paprice;//当前拍卖价格
@property (nonatomic,strong) NSString *headimage;//展示图片
@property (nonatomic,assign) int favornum;//喜欢人数
@property (nonatomic,strong) NSArray *rev;//商品评论
@property (nonatomic,assign) ComType comtype;
///实体类初始化
- (id)initId:(int)comid Name:(NSString *)name Price:(float)price ImageArr:(NSArray *)imageArr Content:(NSString *)content;
@end
